Introduction
Welcome to BindAI. BindAI is an open-source Python framework for building production-ready AI applications with agents, workflows, tools, memory, knowledge retrieval (RAG), model providers, projects, external integrations, and multi-agent systems. Instead of building AI applications from scratch each time, BindAI provides a modular architecture that lets you compose intelligent systems from reusable building blocks. Whether you’re building a simple AI assistant, a tool-calling application, a knowledge-powered system, an automated workflow, or a multi-agent platform, BindAI provides a foundation that can grow with your application.Why BindAI?
Modern AI applications quickly become more than a single LLM call. A production-ready AI system often needs:- AI agents
- External tools
- Conversation memory
- Knowledge retrieval (RAG)
- Embeddings
- Multiple retrieval strategies
- Workflow orchestration
- Human approval and tasks
- Scheduling
- External service integrations
- Multiple language model providers
- Multi-agent coordination
- MCP tool integration
Core Principles
Modular
BindAI is organized into independent packages with clearly defined interfaces. You can use individual capabilities independently or combine them into a complete AI application. The modular architecture covers areas such as:- Agents
- Tools
- Providers
- Memory
- Embeddings
- Retrieval
- Knowledge
- Workflows
- Projects
- Connections
- MCP
Provider Agnostic
BindAI is not tied to a single AI provider. The provider abstraction allows applications to work with multiple supported model providers through a consistent interface. Current supported providers include:- OpenAI
- Anthropic
- Google Gemini
- Groq
- Ollama
- OpenRouter
Production Focused
BindAI is designed around the requirements of real-world AI applications. Current capabilities include:- Tool calling
- Multiple tools
- Structured agent configuration
- Conversation management
- Memory
- Knowledge retrieval (RAG)
- Embeddings
- Vector retrieval
- BM25 retrieval
- Hybrid retrieval
- Reranking
- Workflow orchestration
- Conditional execution
- Loops
- Parallel execution
- Retry policies
- Timeout handling
- Scheduling
- Human approval and tasks
- Agent delegation
- Multi-agent team execution
- External service connections
- MCP tool integration
- Event handling
- Middleware and callbacks
Python First
BindAI embraces modern Python development. Applications are built using familiar Python classes, functions, interfaces, decorators, and type hints. There is no custom scripting language or proprietary workflow syntax required to build BindAI applications.Main Components
BindAI is composed of modular packages that work together.Projects
Projects organize complete AI applications. A typical project can contain:- Agents
- Workflows
- Tools
- Knowledge
- Memory
- Configuration
- Templates
- Integrations
Agents
Agents are the primary execution abstraction for AI applications. Agents can:- Communicate with language models
- Maintain conversations
- Maintain application context
- Call tools
- Access memory
- Retrieve knowledge
- Produce structured results
- Execute tool loops
- Delegate work to other agents
- Work with specialist agents
- Participate in multi-agent teams
- Use MCP-backed tools
Providers
Providers connect BindAI agents to supported language model services. The provider layer provides a common interface for different model providers. Current providers include:- OpenAI
- Anthropic
- Google Gemini
- Groq
- Ollama
- OpenRouter
Tools
Tools allow agents to interact with functions and external systems. Tools can represent:- Python functions
- Application services
- REST APIs
- Databases
- Search systems
- External integrations
- MCP services
Memory
Memory allows applications and agents to store and retrieve information across interactions. Current memory capabilities include:- In-memory memory
- SQLite
- PostgreSQL
- Vector memory
- Pinecone
- Chroma
- Conversation memory
- Custom memory providers
Embeddings and Retrieval
BindAI provides embedding and retrieval abstractions for semantic and lexical search. Current capabilities include:- Embedding providers
- Random/local embeddings
- OpenAI embeddings
- Vector retrieval
- BM25 retrieval
- Hybrid retrieval
- Retrieval configuration
- Search options
Knowledge (RAG)
Knowledge provides Retrieval-Augmented Generation (RAG) capabilities. BindAI knowledge systems can:- Load documents
- Ingest documents
- Parse content
- Split content into chunks
- Generate embeddings
- Store metadata
- Perform semantic retrieval
- Perform BM25 retrieval
- Perform hybrid retrieval
- Filter results
- Rerank results
- Perform conversational retrieval
- Run knowledge pipelines
- Supply retrieved context to agents
Workflows
The workflow engine orchestrates complex multi-step execution logic. Supported workflow patterns include:- Sequential execution
- Conditional branching
- Loops
- Parallel execution
- Retry policies
- Timeout handling
- Scheduling
- Human approval
- Human tasks
Connections
Connections provide a consistent abstraction for integrating BindAI applications with external services. Current integrations include:- Webhooks
- GitHub
- Slack
- Notion
- Jira
- Discord
- Resend
- Vercel
- Netlify
MCP
BindAI includes support for the Model Context Protocol (MCP). Current MCP capabilities include:- MCP client connections
- Tool discovery
- Tool calling
- MCP tools exposed through the BindAI tool system
- Basic connection handling
Multi-Agent Systems
BindAI supports multiple agent execution patterns. Current capabilities include:- Agent delegation
- Agent handoff
- Specialist agents
- Team delegation
- Specialist role chains
- RAG-enabled agents
- Structured agent configuration
- Agent execution configuration
Command Line Interface
BindAI includes a CLI for working with BindAI projects and applications. The CLI provides the entry point for BindAI tooling and initializes the provider ecosystem before launching the application interface. The exact CLI capabilities evolve alongside the framework.Typical Architecture
A typical BindAI application can combine several layers:Documentation Roadmap
If you’re new to BindAI, we recommend following this learning path:- Installation
- Quick Start
- Your First Agent
- Core Concepts
- Providers
- Tools
- Memory
- Knowledge and RAG
- Workflows
- Projects
- Connections
- MCP
- Templates
- API Reference
